package com.blyat.xsoft.kernel.restful.exception;


import com.blyat.xsoft.kernel.exception.BaseException;
import com.blyat.xsoft.kernel.exception.code.ErrorResult;

/**
 * @Auther: syh
 * @Date: 2020/6/9
 * @Description:
 */
public class ServiceException extends BaseException {
    public ServiceException(String result, String message) {
        super(result, message);
    }

    public ServiceException(String message, Object... args) {
        super(message, args);
    }

    public ServiceException(ErrorResult error) {
        super(error);
    }

    public ServiceException(ErrorResult error, Object... args) {
        super(error, args);
    }
}
